<!DOCTYPE html>
<html>
<head>
    <title>报单</title>
		<#include "/header.html">
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="grid-btn">
            <a class="btn btn-primary" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</a>
            <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
        </div>
        <table id="jqGrid"></table>
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">
														                    <div class="form-group">
                        <div class="col-sm-2 control-label">报单名</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.name" placeholder="报单名"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">收益</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.profit" placeholder="收益"/>
                            <code style="margin-top: 4px; display: block;">默认30(%)</code>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">收益提现</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.profitCash" placeholder="收益提现" />
                            <code style="margin-top: 4px; display: block;">默认15(%)</code>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">收益商城积分</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.profitIntegral" placeholder="收益商城积分"/>
                            <code style="margin-top: 4px; display: block;">默认6(%)</code>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">收益ETCC（锁仓）</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.profitEtcc" placeholder="收益ETCC（锁仓）"/>
                            <code style="margin-top: 4px; display: block;">默认9(%)</code>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">收益锁仓天数</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.profitDay" placeholder="收益锁仓天数"/>
                            <code style="margin-top: 4px; display: block;">默认30(天)</code>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">收益/天释放</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.profitRate" placeholder="收益/天释放"/>
                            <code style="margin-top: 4px; display: block;">默认1(%)</code>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">赎回商城积分</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.redeemIntegral" placeholder="赎回商城积分"/>
                            <code style="margin-top: 4px; display: block;">默认2(倍)</code>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">赎回ETCC</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.redeemEtcc" placeholder="赎回ETCC"/>
                            <code style="margin-top: 4px; display: block;">默认1.5(倍)</code>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">赎回锁仓天数</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.redeemDay" placeholder="赎回锁仓天数"/>
                            <code style="margin-top: 4px; display: block;">默认90(天)</code>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">赎回/天释放</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.redeemRate" placeholder="赎回/天释放"/>
                            <code style="margin-top: 4px; display: block;">默认0.5(%)</code>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">总动态奖励变现</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.dynamicCash" placeholder="总动态奖励变现"/>
                            <code style="margin-top: 4px; display: block;">默认70(%)</code>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">总动态奖励转ETCC</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.dynamicEtcc" placeholder="总动态奖励转ETCC"/>
                            <code style="margin-top: 4px; display: block;">默认30(%)</code>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">总动态奖励锁仓天数</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.dynamicDay" placeholder="总动态奖励锁仓天数"/>
                            <code style="margin-top: 4px; display: block;">默认30(天)</code>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">总动态奖励/天释放</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.dynamicRate" placeholder="总动态奖励/天释放"/>
                            <code style="margin-top: 4px; display: block;">默认1(%)</code>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">开始时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.startTimeStr" placeholder="开始时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">结束时间</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.endTimeStr" placeholder="结束时间"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">人数</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.number" placeholder="人数"/>
                        </div>
                    </div>
											                    <div class="form-group">
                        <div class="col-sm-2 control-label">总额度</div>
                        <div class="col-sm-10">
                            <input type="text" class="form-control" v-model="investment.amount" placeholder="总额度"/>
                        </div>
                    </div>
							            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
            </div>
        </form>
    </div>
</div>

<script src="${request.contextPath}/statics/js/modules/etcc/investment.js?_${.now?long}"></script>
</body>
</html>